.class Lcom/zuimeia/ui/rippleview/ZMRippleView$3;
.super Landroid/animation/AnimatorListenerAdapter;
.source "ZMRippleView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuimeia/ui/rippleview/ZMRippleView;->animatePopupByRepeat(Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

.field final synthetic val$cell:Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;


# direct methods
.method constructor <init>(Lcom/zuimeia/ui/rippleview/ZMRippleView;Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;)V
    .registers 3
    .param p1, "this$0"    # Lcom/zuimeia/ui/rippleview/ZMRippleView;

    .prologue
    .line 285
    iput-object p1, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    iput-object p2, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->val$cell:Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;

    invoke-direct {p0}, Landroid/animation/AnimatorListenerAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/animation/Animator;)V
    .registers 11
    .param p1, "animation"    # Landroid/animation/Animator;

    .prologue
    const/4 v8, 0x2

    const/4 v7, 0x0

    const/4 v6, 0x1

    .line 294
    iget-object v4, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    iget-object v5, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->val$cell:Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;

    # invokes: Lcom/zuimeia/ui/rippleview/ZMRippleView;->isPauseAnimator(Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;)Z
    invoke-static {v4, v5}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->access$400(Lcom/zuimeia/ui/rippleview/ZMRippleView;Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;)Z

    move-result v4

    if-eqz v4, :cond_e

    .line 331
    :goto_d
    return-void

    .line 297
    :cond_e
    const/high16 v4, 0x40a00000

    iget-object v5, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    invoke-virtual {v5}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v5

    invoke-static {v6, v4, v5}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v3

    .line 298
    .local v3, "overshootRadius":F
    new-instance v0, Landroid/animation/AnimatorSet;

    invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V

    .line 299
    .local v0, "as":Landroid/animation/AnimatorSet;
    new-array v4, v8, [F

    iget-object v5, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    # getter for: Lcom/zuimeia/ui/rippleview/ZMRippleView;->mMaxRadius:I
    invoke-static {v5}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->access$500(Lcom/zuimeia/ui/rippleview/ZMRippleView;)I

    move-result v5

    int-to-float v5, v5

    aput v5, v4, v7

    iget-object v5, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    # getter for: Lcom/zuimeia/ui/rippleview/ZMRippleView;->mMaxRadius:I
    invoke-static {v5}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->access$500(Lcom/zuimeia/ui/rippleview/ZMRippleView;)I

    move-result v5

    int-to-float v5, v5

    add-float/2addr v5, v3

    aput v5, v4, v6

    invoke-static {v4}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;

    move-result-object v1

    .line 300
    .local v1, "growAnimator":Landroid/animation/ValueAnimator;
    new-instance v4, Lcom/zuimeia/ui/rippleview/ZMRippleView$3$1;

    invoke-direct {v4, p0}, Lcom/zuimeia/ui/rippleview/ZMRippleView$3$1;-><init>(Lcom/zuimeia/ui/rippleview/ZMRippleView$3;)V

    invoke-virtual {v1, v4}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    .line 308
    new-array v4, v8, [F

    iget-object v5, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    # getter for: Lcom/zuimeia/ui/rippleview/ZMRippleView;->mMaxRadius:I
    invoke-static {v5}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->access$500(Lcom/zuimeia/ui/rippleview/ZMRippleView;)I

    move-result v5

    int-to-float v5, v5

    add-float/2addr v5, v3

    aput v5, v4, v7

    iget-object v5, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    # getter for: Lcom/zuimeia/ui/rippleview/ZMRippleView;->mMaxRadius:I
    invoke-static {v5}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->access$500(Lcom/zuimeia/ui/rippleview/ZMRippleView;)I

    move-result v5

    int-to-float v5, v5

    aput v5, v4, v6

    invoke-static {v4}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;

    move-result-object v2

    .line 309
    .local v2, "narrowAnimator":Landroid/animation/ValueAnimator;
    new-instance v4, Lcom/zuimeia/ui/rippleview/ZMRippleView$3$2;

    invoke-direct {v4, p0}, Lcom/zuimeia/ui/rippleview/ZMRippleView$3$2;-><init>(Lcom/zuimeia/ui/rippleview/ZMRippleView$3;)V

    invoke-virtual {v2, v4}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    .line 317
    new-instance v4, Lcom/zuimeia/ui/rippleview/ZMRippleView$3$3;

    invoke-direct {v4, p0, v0}, Lcom/zuimeia/ui/rippleview/ZMRippleView$3$3;-><init>(Lcom/zuimeia/ui/rippleview/ZMRippleView$3;Landroid/animation/AnimatorSet;)V

    invoke-virtual {v0, v4}, Landroid/animation/AnimatorSet;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 327
    invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->play(Landroid/animation/Animator;)Landroid/animation/AnimatorSet$Builder;

    move-result-object v4

    invoke-virtual {v4, v1}, Landroid/animation/AnimatorSet$Builder;->after(Landroid/animation/Animator;)Landroid/animation/AnimatorSet$Builder;

    .line 328
    iget-object v4, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->val$cell:Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;

    iput-object v0, v4, Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;->animator:Landroid/animation/Animator;

    .line 329
    const-wide/16 v4, 0x12c

    invoke-virtual {v0, v4, v5}, Landroid/animation/AnimatorSet;->setDuration(J)Landroid/animation/AnimatorSet;

    .line 330
    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->start()V

    goto :goto_d
.end method

.method public onAnimationStart(Landroid/animation/Animator;)V
    .registers 4
    .param p1, "animation"    # Landroid/animation/Animator;

    .prologue
    .line 288
    iget-object v0, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->val$cell:Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;

    iget-object v1, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    # getter for: Lcom/zuimeia/ui/rippleview/ZMRippleView;->mRippleAlpha:F
    invoke-static {v1}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->access$000(Lcom/zuimeia/ui/rippleview/ZMRippleView;)F

    move-result v1

    iput v1, v0, Lcom/zuimeia/ui/rippleview/ZMRippleView$Cell;->alpha:F

    .line 289
    iget-object v0, p0, Lcom/zuimeia/ui/rippleview/ZMRippleView$3;->this$0:Lcom/zuimeia/ui/rippleview/ZMRippleView;

    const/4 v1, 0x1

    # setter for: Lcom/zuimeia/ui/rippleview/ZMRippleView;->mIsAnimated:Z
    invoke-static {v0, v1}, Lcom/zuimeia/ui/rippleview/ZMRippleView;->access$102(Lcom/zuimeia/ui/rippleview/ZMRippleView;Z)Z

    .line 290
    return-void
.end method
